#!/bin/sh

php_rc='/opt/__phpm__/custom/php.ini'
php_scan='/opt/__phpm__/etc/php.d'
php_prog='/opt/__phpm__/usr/bin/php'

export PHPRC=$php_rc
export PHP_INI_SCAN_DIR=$php_scan

exec $php_prog -c $php_rc $*